Skip to content

Comments

Chore/artifact#106

Merged
dreamcoin1998 merged 33 commits intomainfrom
chore/artifact
Feb 19, 2025
Merged

Chore/artifact#106
dreamcoin1998 merged 33 commits intomainfrom
chore/artifact

Conversation

@dreamcoin1998
Copy link
Contributor

No description provided.

- Added cross-platform detection for Windows and Unix-like systems in Makefile
- Updated build configuration to dynamically set platform-specific variables
- Modified config initialization to support Windows and Unix environments
- Enhanced PyInstaller build command with platform and architecture detection
- Simplified rsync upload process in GitHub Actions workflow
- Expanded hidden imports for improved binary compatibility
- Updated rsync command flags for more efficient file transfer
- Replaced `-avz` with `-vzrt` to improve transfer performance
- Maintained existing secure password handling and upload destination
- Added temporary directory for rsync transfer to improve reliability
- Set explicit file and directory permissions for uploaded artifacts
- Maintained existing secure password handling and upload destination
- Added error handling to rsync command to allow exit code 23 (partial transfer)
- Maintained existing secure password handling and upload configuration
- Improved workflow reliability by preventing unnecessary workflow failures
- Updated rsync command to use `|| true` for unconditional success
- Ensures workflow continues even if rsync encounters partial transfer or other non-critical errors
- Maintains existing secure password handling and upload configuration
- Removed temporary directory creation step
- Simplified rsync command by removing unnecessary flags
- Maintained secure password handling and upload destination
- Updated Makefile to support dynamic platform detection and configuration
- Simplified build commands for Windows and Unix-like systems
- Improved GitHub Actions workflow to use Makefile for consistent builds
- Added Windows platform support in build matrix
- Streamlined artifact generation and checksum creation
- Replaced custom rsync upload with GitHub Actions rsync deployment
- Added platform-specific checksum generation for Windows
- Implemented PowerShell script to generate SHA256 checksums
- Fixed line endings for Windows-generated checksum file
- Ensured consistent checksum file format across platforms
- Updated clean target to use platform-specific file removal command
- Added conditional handling for Windows file and directory deletion
- Ensured consistent clean behavior across Windows and Unix-like systems
- Added `rsync://` protocol prefix to remote host configuration
- Ensured compatibility with rsync server addressing
- Maintained existing secure upload configuration
- Added platform-specific checksum generation for Linux and macOS
- Updated workflow to use different checksum commands based on operating system
- Maintained consistent SHA256 checksum file creation across platforms
- Disabled fail-fast strategy to ensure all build targets are processed
- Implemented platform-specific rsync deployment for Unix and Windows
- Added rsync installation for Windows using Chocolatey
- Created separate deployment steps for Unix and Windows environments
- Improved password file handling with platform-specific approaches
- Maintained secure upload configuration with error tolerance
- Updated Makefile to extract version from git tags dynamically
- Added cross-platform version detection for Windows and Unix-like systems
- Implemented fallback to 'v0.0.0' if no valid tag is found
- Removed hardcoded version number
- Added fetch-depth: 0 to actions/checkout to retrieve complete git history
- Ensures all tags and commit history are available for version generation
- Supports dynamic version extraction from git tags
- Added cross-platform version detection for Windows and Unix-like systems
- Implemented dynamic version extraction from git tags using shell and PowerShell commands
- Provided fallback to '0.0.0' if no valid tag is found
- Enhanced version generation logic in GitHub Actions workflow
- Simplified version extraction script for Windows using PowerShell
- Improved shell script for Unix-like systems
- Ensured consistent version detection across platforms
- Removed redundant shell commands and improved readability
- Updated macOS checksum generation script to handle file filtering
- Prevented overwriting existing checksum file
- Ensured only valid files are included in SHA256SUMS.darwin.txt
- Enhanced robustness of checksum generation process
- Updated PowerShell script in Makefile to improve version tag extraction
- Simplified version detection logic in GitHub Actions package workflow
- Maintained consistent cross-platform version generation approach
- Improved error handling and fallback mechanism for version extraction
…ions

- Updated PowerShell version extraction logic in Makefile
- Simplified version tag parsing for Windows environments
- Improved command structure for more reliable version detection
- Maintained consistent cross-platform version generation approach
- Added new `get-version` job to extract version consistently across build matrix
- Simplified version detection logic in build job
- Removed redundant version extraction steps
- Passed version as an input to build job using GitHub Actions outputs
- Updated Makefile to use default version fallback
- Updated rsync deployment command to use `${{ env.VERSION }}` instead of `$VERSION`
- Ensured consistent environment variable referencing in GitHub Actions workflow
- Maintained cross-platform rsync deployment approach
- Updated GitHub Actions workflow to use 'macOS' instead of 'Darwin'
- Ensured consistent runner OS detection for macOS checksum generation
- Maintained cross-platform compatibility in package workflow
- Replaced `ubuntu-latest` with `ubuntu-20.04` in package workflow
- Maintained consistent runner configuration across jobs
- Ensured stable build environment for Linux builds
- Added CentOS 7 build configuration in GitHub Actions workflow
- Updated Makefile to support optional platform and architecture variables
- Improved cross-platform build and packaging flexibility
- Enabled Docker-based build for CentOS 7 environment
- Added `importlib-metadata` installation for CentOS 7 build
- Updated checksum generation to use platform-specific filename
- Enhanced build process for CentOS 7 environment
- Replaced default Python with Python 3.8.12 from source
- Added dependencies for Python compilation
- Installed PyInstaller for build process
- Updated workflow to use custom Python 3.8 installation
- Configured pip and added necessary build tools
- Replaced manual Python 3.8.12 compilation with SCL Python 3.8
- Streamlined package installation and environment setup
- Reduced workflow complexity by using Software Collections Python
- Updated build command to use system Python from SCL
…entOS 7 workflow

- Reverted to compiling Python 3.8.12 from source instead of using Software Collections
- Added necessary dependencies for Python compilation
- Installed Python 3.8.12 with optimizations
- Created symlinks for python3 and pip3
- Updated build command to use manually installed Python 3.8
…OS 7 workflow

- Added sqlite-devel package to Python compilation dependencies
- Enabled SQLite extensions during Python configuration
- Maintained optimized Python 3.8.12 installation process
- Added `--enable-shared` flag during Python configuration
- Configured dynamic library path with `/etc/ld.so.conf.d/local.conf`
- Ran `ldconfig` to update shared library cache
- Maintained previous Python 3.8.12 installation optimizations
- Added SHA256SUMS generation for each platform in the build process
- Implemented checksum file creation in the dist directory
- Adjusted file ownership to maintain workflow consistency
- Simplified checksum generation for different build environments
- Installed urllib3 with version less than 2.0.0 to prevent potential compatibility issues
- Ensured stable dependency management in the package build process
…ons workflow

- Created a new `centos7` Makefile target for CentOS 7 build process
- Extracted Docker-based CentOS 7 build steps from GitHub Actions workflow
- Simplified package workflow by referencing the new Makefile target
- Maintained existing Python 3.8.12 installation and build configuration
@dreamcoin1998 dreamcoin1998 merged commit 5836522 into main Feb 19, 2025
5 checks passed
@dreamcoin1998 dreamcoin1998 deleted the chore/artifact branch February 19, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant